package com.toubutu.audio.admin.vo;

import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/** 角色VO
 * @author 戒躁
 * @version 1.0
 * @date 2023年09月30日 23:21
 */
@Data
@ApiModel(value = "角色VO对象")
public class RoleVo {
    @ApiModelProperty("角色id")
    private Integer roleId;

    @ApiModelProperty("角色名称")
    private String roleName;

    @ApiModelProperty("角色名称")
    @JsonInclude(value = JsonInclude.Include.NON_NULL)
    private String roleTag;

    @ApiModelProperty("角色状态 0禁用 1启用")
    @JsonInclude(value = JsonInclude.Include.NON_NULL)
    private Integer roleStatus;
    @ApiModelProperty("角色描述")
    @JsonInclude(value = JsonInclude.Include.NON_NULL)
    private String roleDesc;

    @ApiModelProperty("是否删除 0否 1是")
    @JsonInclude(value = JsonInclude.Include.NON_NULL)
    private Integer isDelete;
    @ApiModelProperty("是否启用 0否 1是")
    @JsonInclude(value = JsonInclude.Include.NON_NULL)
    private Integer isEnable;

    @ApiModelProperty("创建时间")
    @JsonInclude(value = JsonInclude.Include.NON_NULL)
    private LocalDateTime createTime;

    @ApiModelProperty("最近更新时间")
    @JsonInclude(value = JsonInclude.Include.NON_NULL)
    private LocalDateTime updateTime;
}
